package com.ruoyi.purchase.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * DictData对象 dict_data
 * 
 * @author kevinness
 * @date 2025-03-05
 */
public class DictData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 负责人 */
    @Excel(name = "负责人")
    private String person;

    /** 负责人联系电话 */
    @Excel(name = "负责人联系电话")
    private String contact;

    /** 位置经度 */
    @Excel(name = "位置经度")
    private BigDecimal lng;

    /** 位置纬度 */
    @Excel(name = "位置纬度")
    private BigDecimal lat;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPerson(String person) 
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }
    public void setLng(BigDecimal lng) 
    {
        this.lng = lng;
    }

    public BigDecimal getLng() 
    {
        return lng;
    }
    public void setLat(BigDecimal lat) 
    {
        this.lat = lat;
    }

    public BigDecimal getLat() 
    {
        return lat;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .append("person", getPerson())
            .append("contact", getContact())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("type", getType())
            .toString();
    }
}
